﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PrintAJRG.aspx.cs" Inherits="IYAKASAPortal.PrintAll.PrintAJRG" %>
<%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>打印安检人工检验部分详细页面</title>
    <link rel="stylesheet" href="../support/tfNiceTable/tfNiceTable.css"/>
    <script type="text/javascript" src="../script/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="../script/layer/layer.js"></script>
</head>
<body style="overflow-y:auto">
 <form id="form2" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
    <div style="text-align:left; width:100%;height:1000px">
         <asp:Button runat="server" ID="btnAJ" CssClass="btnReportEnabled" OnClick="btnAJ_Click" />&nbsp;&nbsp;
         <asp:Button runat="server" ID="btnYQ"  CssClass="btnInstrumentEnabled" OnClick="btnYQ_Click" /> &nbsp;&nbsp;
         <asp:Button runat="server" ID="btnRG" CssClass="btnLabourEnabled" OnClick="btnRG_Click" />  &nbsp;&nbsp;
         <button class="btnSJQX" onclick="OpenChartPage()"></button> &nbsp;&nbsp;
        <asp:Button ID="btnPrint" runat="server" Text=""   CssClass="btnCPrintEnabled" OnClick="btnPrint_Click"  />&nbsp;&nbsp;
        <asp:CheckBox ID="chkSingle" runat="server" Text="单次结果" AutoPostBack="True" OnCheckedChanged="chkSingle_CheckedChanged"  />&nbsp;&nbsp;
          
        <asp:Button runat="server" ID="btnUpload" CssClass="btnUploadEnable" OnClick="btnUpload_Click"  />
         <asp:Button ID="btnReCheck" runat="server" CssClass="btnRecheckEnable" OnClientClick="return confirm('确定要重检当前车辆吗?');doAjaxShow();" OnClick="btnReCheck_Click"  />
         <asp:Button ID="btnReCheckMoto" runat="server" CssClass="btnMotoRecheckEnable"  OnClientClick="return confirm('确定要重检当前车辆吗?');doAjaxShow();" OnClick="btnReCheck_Click" Visible="false" />
     <CR:CrystalReportViewer ID="CRAJRG" runat="server"  PrintMode="ActiveX"   GroupTreeImagesFolderUrl="" ToolbarImagesFolderUrl="" ToolPanelWidth="200px" Width="500px" DisplayStatusbar="False" HasCrystalLogo="False" HasGotoPageButton="False" HasSearchButton="False" HasToggleGroupTreeButton="False" HasToggleParameterPanelButton="False" ToolPanelView="None" />
    </div>    
          <input  type="hidden" runat="server" id ="txtAJLSH" />    
</ContentTemplate>
</asp:UpdatePanel>
</form>
</body>
</html>

<script>
    function OpenChartPage() {
        console.log(AJLSH);
        var AJLSH = $("#txtAJLSH").val();
        var url = "ZDLQX.aspx?AJLSH="+ AJLSH;
        layer.open({
            type: 2,
            title: "曲线图",
            shadeClose: true,
            maxmin: true,
            area: ['1200px', '700px'],
            content: url
        });
    }
</script>